package kr.hkit.powerjava.chapter11.submit;

public class SmartPhone extends Phone {
	
	private String osType;
	private String osVersion;
	private String memorySize;
	private String camera;
	private String bluetooth;
	
	public SmartPhone(String osType, String osVersion, String memorySize,
			String camera, String bluetooth) {
		this.osType = osType;
		this.osVersion = osVersion;
		this.memorySize = memorySize;
		this.camera = camera;
		this.bluetooth = bluetooth;
	}

	public String getOsType() {
		return osType;
	}
	public String getOsVersion() {
		return osVersion;
	}
	public String getMemorySize() {
		return memorySize;
	}
	public String getCamera() {
		return camera;
	}
	public String getBluetooth() {
		return bluetooth;
	}
	public void setOsType(String osType) {
		this.osType = osType;
	}
	public void setOsVersion(String osVersion) {
		this.osVersion = osVersion;
	}
	public void setMemorySize(String memorySize) {
		this.memorySize = memorySize;
	}
	public void setCamera(String camera) {
		this.camera = camera;
	}
	public void setBluetooth(String bluetooth) {
		this.bluetooth = bluetooth;
	}

	public void prn(){
		System.out.println("[추지영 고객님의 휴대폰 단말기 정보]");
		System.out.println("제조사:"+getCompany()+", 가격:"+getPrice()+", 통신타입:"+getType());
		System.out.println("운영체제:"+osType+", 운영체제 버전:"+osVersion+",메모리 크기:"+memorySize);
		System.out.println("카메라 장착 여부:"+camera + ", 블루투스 지원 여부:" +bluetooth);
	}
	

	public static void main(String[] args) {
		
		SmartPhone s = new SmartPhone("Android","버전 4.3","16GB","Y","Y");
		s.setCompany("삼성");
		s.setPrice(300000);
		s.setType("LTE");
		s.prn();
	}
}
